package cn.manyufun.myf.common.commonutils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created by Xiao on 2018-02-24.
 */

public class CommonUtils {
    public static boolean isTelNumValid(String telNum) {
        String regExp = "^(1)\\d{10}$";
        Pattern p = Pattern.compile(regExp);
        Matcher m = p.matcher(telNum);
        return m.matches();
    }
}
